<?php

Raise::load('core.RaiseStaticClass');

class RaiseOAuth extends RaiseStaticClass {
    
    const TOKEN_REQUEST = 1;
    const TOKEN_ACCESS = 2;
    
    const TIMESTAMP_THRESHOLD = 600; // in seconds; i.e. 10 minutes
    
    const VERSION = '1.0';
    
    public static function methods(){
        static $a = null;
        if(!$a){
            $a = new RaiseCollection();
            $a->add('HMAC-SHA1', 'RaiseOAuthHmacSha1Signature');
            $a->add('PLAINTEXT', 'RaiseOAuthPlaintextSignature');
        }
        return $a;
    }
    
}